Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement limit on max-concurrency. #2032

Merged
merged 17 commits into from
Jun 20, 2024
Merged

Implement limit on max-concurrency. #2032

merged 17 commits into from
Jun 20, 2024

Conversation

kislaykishore
Copy link
Collaborator

@kislaykishore kislaykishore commented Jun 18, 2024

Description

Limit max-concurrency of parallel downloads across jobs using a semaphore.

Link to the issue in case of a bug fix.

NA

Testing details

  1. Manual - NA
  2. Unit tests - NA
  3. Integration tests - NA

Copy link

codecov bot commented Jun 18, 2024

Codecov Report

Attention: Patch coverage is 90.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 71.45%. Comparing base (3c70dc9) to head (2d7ca17).
Report is 3 commits behind head on master.

Files Patch % Lines
internal/cache/file/downloader/test_util.go 83.33% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2032      +/-   ##
==========================================
- Coverage   71.54%   71.45%   -0.09%     
==========================================
  Files          98       99       +1     
  Lines       10756    10805      +49     
==========================================
+ Hits         7695     7721      +26     
- Misses       2718     2736      +18     
- Partials      343      348       +5     
Flag Coverage Δ
unittests 71.45% <90.00%> (-0.09%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kislaykishore kislaykishore marked this pull request as ready for review June 19, 2024 09:11
@kislaykishore kislaykishore requested a review from a team as a code owner June 19, 2024 09:11
Copy link
Collaborator

@sethiay sethiay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logic looks good, some comments on the tests.

@kislaykishore kislaykishore merged commit 52b1e10 into master Jun 20, 2024
12 of 13 checks passed
@kislaykishore kislaykishore deleted the pd-sem2 branch June 20, 2024 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
execute-integration-tests Run only integration tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants